﻿using System.Web.Mvc;

namespace SapaFinance.UI.Controllers
{
    public class ErrorController : Controller
    {
        public virtual ActionResult HttpError404(string message)
        {
            ViewBag.Message = "Http Error 404";
            return View("Error");
        }

        public virtual ActionResult HttpError500(string message)
        {
            ViewBag.Message = message;
            return View("Error");
        }

        public virtual ActionResult General(string message)
        {
            ViewBag.Message = message;
            return View("Error");
        }
    }
}